[INFO] fetching crate string_telephone 0.0.3...
[INFO] checking string_telephone-0.0.3 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate string_telephone 0.0.3 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate string_telephone 0.0.3 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate string_telephone 0.0.3
[INFO] finished tweaking crates.io crate string_telephone 0.0.3
[INFO] tweaked toml for crates.io crate string_telephone 0.0.3 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80ef35e529e594db6be5346e47f2e24b5a8ab49562b174197e3bc33f98a032b8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "80ef35e529e594db6be5346e47f2e24b5a8ab49562b174197e3bc33f98a032b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80ef35e529e594db6be5346e47f2e24b5a8ab49562b174197e3bc33f98a032b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80ef35e529e594db6be5346e47f2e24b5a8ab49562b174197e3bc33f98a032b8", kill_on_drop: false }`
[INFO] [stdout] 80ef35e529e594db6be5346e47f2e24b5a8ab49562b174197e3bc33f98a032b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2263f78157b9e21ab163f7820c2a8aa17c4e8c3f8322f11db9744f808819dadd
[INFO] running `Command { std: "docker" "start" "-a" "2263f78157b9e21ab163f7820c2a8aa17c4e8c3f8322f11db9744f808819dadd", kill_on_drop: false }`
[INFO] [stderr]     Checking string_telephone v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/packet.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::{IoResult, IoError, OtherIoError};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/packet.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::BufReader;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive`
[INFO] [stdout]  --> src/packet.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::num::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/client.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/client.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::net::ip::SocketAddr;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/shared.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/client.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::{IoResult, IoError, OtherIoError, TimedOut};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/client.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::old_io::Timer;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select`
[INFO] [stdout]  --> src/client.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select};
[INFO] [stdout]   |                                                                ^^^^^^ no `Select` in `sync::mpsc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/server.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/server.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/client.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/server.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::{IoResult, TimedOut};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select`
[INFO] [stdout]  --> src/server.rs:4:64
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select};
[INFO] [stdout]   |                                                                ^^^^^^ no `Select` in `sync::mpsc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `FromPrimitive`
[INFO] [stdout]  --> src/packet.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]  --> src/packet.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)]
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/client.rs:307:3
[INFO] [stdout]     |
[INFO] [stdout] 307 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/server.rs:283:3
[INFO] [stdout]     |
[INFO] [stdout] 283 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/client.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn reader_process(mut reader: UdpSocket, send: Sender<Packet>, recv: Receiver<TaskCommand>, target_addr: SocketAddr, protocol_id: u32, ti...
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/client.rs:30:106
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...acket>, recv: Receiver<TaskCommand>, target_addr: SocketAddr, protocol_id: u32, timeout_period: Duration) {
[INFO] [stdout]    |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/client.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver<Packet>, target_addr: SocketAddr) {
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/client.rs:87:79
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver<Packet>, target_addr: SocketAddr) {
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub addr: SocketAddr,
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:108:22
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub target_addr: SocketAddr,
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig<T>, client_connection_config: ClientConnectionConf...
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:151:51
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig<T>, client_connection_config: ClientConnectionConf...
[INFO] [stdout]     |                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/client.rs:152:16
[INFO] [stdout]     |
[INFO] [stdout] 152 |          match UdpSocket::bind(addr) {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn hash_sender(address: &SocketAddr) -> String {
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/server.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Ipv4Addr(a, b, c, d) => {
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv6Addr` in this scope
[INFO] [stdout]   --> src/server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         Ipv6Addr(a, b, c, d, e, f, g, h) => {
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     addr: SocketAddr,
[INFO] [stdout]    |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn new(addr: SocketAddr, timeout: i64) -> ClientInstance {
[INFO] [stdout]    |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/server.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver<TaskCommand>, protocol_id:...
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver<TaskCommand>, protocol_id:...
[INFO] [stdout]    |                                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/server.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender<TaskCommand>, writer_sub_in: Receiver<(Packet, SocketAddr)>) {
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:90:113
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender<TaskCommand>, writer_sub_in: Receiver<(Packet, SocketAddr)>) {
[INFO] [stdout]    |                                                                                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub addr: SocketAddr,
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:114:39
[INFO] [stdout]     |
[INFO] [stdout] 114 |     reader_receive: Receiver<(Packet, SocketAddr)>,
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:115:34
[INFO] [stdout]     |
[INFO] [stdout] 115 |     writer_send: Sender<(Packet, SocketAddr)>,
[INFO] [stdout]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn new(addr: SocketAddr, config: ConnectionConfig<T>) -> IoResult<Server<T>> {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/server.rs:125:15
[INFO] [stdout]     |
[INFO] [stdout] 125 |         match UdpSocket::bind(addr) {
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:162:59
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn poll(&mut self) -> Option<(PacketOrCommand<T>, SocketAddr)> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:221:35
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub fn cull(&mut self) -> Vec<SocketAddr> {
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:246:50
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn send_to(&mut self, packet: &T, addr: &SocketAddr) -> bool {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:260:60
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn send_to_many(&mut self, packet: &T, addrs: &Vec<SocketAddr>) {
[INFO] [stdout]     |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:278:42
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn all_connections(&self) -> Vec<SocketAddr> {
[INFO] [stdout]     |                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/packet.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::{IoResult, IoError, OtherIoError};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/packet.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::BufReader;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let protocol_id = try!(r.read_be_u32());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let sequence_id = try!(r.read_be_u16());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let packet_type = try!(r.read_byte());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let content = try!(r.read_to_end());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive`
[INFO] [stdout]  --> src/packet.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::num::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         try!(w.write_be_u32(self.protocol_id));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         try!(w.write_be_u16(self.sequence_id));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         try!(w.write_u8(self.packet_type as u8));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/client.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 try!(w.write(content.as_slice()))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/client.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::net::ip::SocketAddr;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/shared.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/client.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::{IoResult, IoError, OtherIoError, TimedOut};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/client.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::old_io::Timer;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select`
[INFO] [stdout]  --> src/client.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select};
[INFO] [stdout]   |                                                                ^^^^^^ no `Select` in `sync::mpsc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/server.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/server.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/client.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/server.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::{IoResult, TimedOut};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_shared.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::net::ip::SocketAddr;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_shared.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_client.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::old_io::net::ip::{Ipv4Addr, SocketAddr};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_client.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select`
[INFO] [stdout]  --> src/server.rs:4:64
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select};
[INFO] [stdout]   |                                                                ^^^^^^ no `Select` in `sync::mpsc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/tests/test_client.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::old_io::Timer;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_server.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::old_io::net::ip::{Ipv4Addr, SocketAddr};
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/tests/test_client.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tests/test_server.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::old_io::net::udp::UdpSocket;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]  --> src/tests/test_server.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::duration::Duration;
[INFO] [stdout]   |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/tests/test_server.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::old_io::Timer;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `FromPrimitive`
[INFO] [stdout]  --> src/packet.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]  --> src/packet.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)]
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/client.rs:307:3
[INFO] [stdout]     |
[INFO] [stdout] 307 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/server.rs:283:3
[INFO] [stdout]     |
[INFO] [stdout] 283 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/client.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn reader_process(mut reader: UdpSocket, send: Sender<Packet>, recv: Receiver<TaskCommand>, target_addr: SocketAddr, protocol_id: u32, ti...
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/client.rs:30:106
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...acket>, recv: Receiver<TaskCommand>, target_addr: SocketAddr, protocol_id: u32, timeout_period: Duration) {
[INFO] [stdout]    |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/client.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver<Packet>, target_addr: SocketAddr) {
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/client.rs:87:79
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn writer_process(mut writer: UdpSocket, recv: Receiver<Packet>, target_addr: SocketAddr) {
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub addr: SocketAddr,
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:108:22
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub target_addr: SocketAddr,
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig<T>, client_connection_config: ClientConnectionConf...
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/client.rs:151:51
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn connect(addr: SocketAddr, target_addr: SocketAddr, config: ConnectionConfig<T>, client_connection_config: ClientConnectionConf...
[INFO] [stdout]     |                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/client.rs:152:16
[INFO] [stdout]     |
[INFO] [stdout] 152 |          match UdpSocket::bind(addr) {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn hash_sender(address: &SocketAddr) -> String {
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/server.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Ipv4Addr(a, b, c, d) => {
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ipv6Addr` in this scope
[INFO] [stdout]   --> src/server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         Ipv6Addr(a, b, c, d, e, f, g, h) => {
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     addr: SocketAddr,
[INFO] [stdout]    |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn new(addr: SocketAddr, timeout: i64) -> ClientInstance {
[INFO] [stdout]    |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/server.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver<TaskCommand>, protocol_id:...
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn reader_process(mut reader: UdpSocket, reader_sub_out: Sender<(Packet, SocketAddr)>, reader_sub_in: Receiver<TaskCommand>, protocol_id:...
[INFO] [stdout]    |                                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]   --> src/server.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender<TaskCommand>, writer_sub_in: Receiver<(Packet, SocketAddr)>) {
[INFO] [stdout]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/server.rs:90:113
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn writer_process(mut writer: UdpSocket, _writer_sub_out: Sender<TaskCommand>, writer_sub_in: Receiver<(Packet, SocketAddr)>) {
[INFO] [stdout]    |                                                                                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub addr: SocketAddr,
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:114:39
[INFO] [stdout]     |
[INFO] [stdout] 114 |     reader_receive: Receiver<(Packet, SocketAddr)>,
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:115:34
[INFO] [stdout]     |
[INFO] [stdout] 115 |     writer_send: Sender<(Packet, SocketAddr)>,
[INFO] [stdout]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn new(addr: SocketAddr, config: ConnectionConfig<T>) -> IoResult<Server<T>> {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/server.rs:125:15
[INFO] [stdout]     |
[INFO] [stdout] 125 |         match UdpSocket::bind(addr) {
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:162:59
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn poll(&mut self) -> Option<(PacketOrCommand<T>, SocketAddr)> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:221:35
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub fn cull(&mut self) -> Vec<SocketAddr> {
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:246:50
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn send_to(&mut self, packet: &T, addr: &SocketAddr) -> bool {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:260:60
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn send_to_many(&mut self, packet: &T, addrs: &Vec<SocketAddr>) {
[INFO] [stdout]     |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]    --> src/server.rs:278:42
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn all_connections(&self) -> Vec<SocketAddr> {
[INFO] [stdout]     |                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope
[INFO] [stdout]  --> src/tests/test_shared.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn get_message(socket: &mut UdpSocket) -> (Vec<u8>, SocketAddr) {
[INFO] [stdout]   |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::UdpSocket;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]  --> src/tests/test_shared.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn get_message(socket: &mut UdpSocket) -> (Vec<u8>, SocketAddr) {
[INFO] [stdout]   |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::unix::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:13:55
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn generate_settings(port: u16, protocol_id: u32) -> (SocketAddr, SocketAddr, ConnectionConfig<Vec<u8>>, ClientConnectionConfig) {
[INFO] [stdout]    |                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:13:67
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn generate_settings(port: u16, protocol_id: u32) -> (SocketAddr, SocketAddr, ConnectionConfig<Vec<u8>>, ClientConnectionConfig) {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let my_addr = SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 };
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let my_addr = SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 };
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let target_addr = SocketAddr{ ip: Ipv4Addr(127, 0, 0, 1), port: port };
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/tests/test_client.rs:15:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let target_addr = SocketAddr{ ip: Ipv4Addr(127, 0, 0, 1), port: port };
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]   --> src/tests/test_client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |               match UdpSocket::bind($socket) {
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 57 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 58 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 59 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 60 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 61 | |     });
[INFO] [stdout]    | |_______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]   --> src/tests/test_client.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |               match UdpSocket::bind($socket) {
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 79 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 80 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 81 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 82 | |         socket.send_to(Packet::accept(122, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 83 | |     });
[INFO] [stdout]    | |_______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 101 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 102 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 103 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 104 | |         socket.send_to(Packet::reject(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send reject packet");
[INFO] [stdout] 105 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 127 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 128 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 129 | |         let mut attempts = 0u8;
[INFO] [stdout] 130 | |         while attempts < 3 {
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         tx.send(attempts);
[INFO] [stdout] 136 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 156 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 157 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 158 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 159 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 160 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 178 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 179 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 180 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 181 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 182 | |         socket.send_to(Packet::message(121, 1, vec![1]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 183 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 209 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 210 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 211 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 212 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 216 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 249 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 250 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 251 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 252 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 255 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 256 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 288 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 289 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 290 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 291 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 292 | |         socket.send_to(Packet::disconnect(121, 1).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 293 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 318 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 319 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 320 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 321 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 322 | |         //Don't send any more data
[INFO] [stdout] 323 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 351 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 352 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 353 | |         let (msg, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 354 | |         //Check what's been sent
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |         tx.send(packet);
[INFO] [stdout] 358 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 381 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 382 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 383 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 384 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 388 | |         tx.send(packet);
[INFO] [stdout] 389 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 414 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 415 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 416 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 417 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |         tx.send(packet);
[INFO] [stdout] 422 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_client.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |               match UdpSocket::bind($socket) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 443 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 444 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 445 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 446 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 449 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 450 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:24:55
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn generate_settings(port: u16, protocol_id: u32) -> (SocketAddr, ConnectionConfig<Vec<u8>>) {
[INFO] [stdout]    |                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let my_addr = SocketAddr{ ip: Ipv4Addr(127, 0, 0, 1), port: port };
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let my_addr = SocketAddr{ ip: Ipv4Addr(127, 0, 0, 1), port: port };
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]   --> src/tests/test_server.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 69 | /             with_bound_socket!((socket) {
[INFO] [stdout] 70 | |                 socket.send_to(Packet::connect(122, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 71 | |                 tx.send(());
[INFO] [stdout] 72 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 69 | /             with_bound_socket!((socket) {
[INFO] [stdout] 70 | |                 socket.send_to(Packet::connect(122, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 71 | |                 tx.send(());
[INFO] [stdout] 72 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:16:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 69 | /             with_bound_socket!((socket) {
[INFO] [stdout] 70 | |                 socket.send_to(Packet::connect(122, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 71 | |                 tx.send(());
[INFO] [stdout] 72 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]   --> src/tests/test_server.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 93 | /             with_bound_socket!((socket) {
[INFO] [stdout] 94 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 95 | |                 tx.send(());
[INFO] [stdout] 96 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::UdpSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 93 | /             with_bound_socket!((socket) {
[INFO] [stdout] 94 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 95 | |                 tx.send(());
[INFO] [stdout] 96 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]   --> src/tests/test_server.rs:16:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]    |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 93 | /             with_bound_socket!((socket) {
[INFO] [stdout] 94 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 95 | |                 tx.send(());
[INFO] [stdout] 96 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 122 | /             with_bound_socket!((socket) {
[INFO] [stdout] 123 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 124 | |                 tx.send(());
[INFO] [stdout] 125 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 122 | /             with_bound_socket!((socket) {
[INFO] [stdout] 123 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 124 | |                 tx.send(());
[INFO] [stdout] 125 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 122 | /             with_bound_socket!((socket) {
[INFO] [stdout] 123 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 124 | |                 tx.send(());
[INFO] [stdout] 125 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 126 | /             with_bound_socket!((socket) {
[INFO] [stdout] 127 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 128 | |                 tx2.send(());
[INFO] [stdout] 129 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 126 | /             with_bound_socket!((socket) {
[INFO] [stdout] 127 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 128 | |                 tx2.send(());
[INFO] [stdout] 129 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 126 | /             with_bound_socket!((socket) {
[INFO] [stdout] 127 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 128 | |                 tx2.send(());
[INFO] [stdout] 129 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 162 | /             with_bound_socket!((socket) {
[INFO] [stdout] 163 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 164 | |                 tx.send(());
[INFO] [stdout] 165 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 162 | /             with_bound_socket!((socket) {
[INFO] [stdout] 163 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 164 | |                 tx.send(());
[INFO] [stdout] 165 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 162 | /             with_bound_socket!((socket) {
[INFO] [stdout] 163 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 164 | |                 tx.send(());
[INFO] [stdout] 165 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 166 | /             with_bound_socket!((socket) {
[INFO] [stdout] 167 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 168 | |                 tx2.send(());
[INFO] [stdout] 169 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 166 | /             with_bound_socket!((socket) {
[INFO] [stdout] 167 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 168 | |                 tx2.send(());
[INFO] [stdout] 169 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 166 | /             with_bound_socket!((socket) {
[INFO] [stdout] 167 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 168 | |                 tx2.send(());
[INFO] [stdout] 169 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 203 | /             with_bound_socket!((socket) {
[INFO] [stdout] 204 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 205 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 206 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 210 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 203 | /             with_bound_socket!((socket) {
[INFO] [stdout] 204 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 205 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 206 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 210 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 203 | /             with_bound_socket!((socket) {
[INFO] [stdout] 204 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 205 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 206 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 210 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 255 | /             with_bound_socket!((socket) {
[INFO] [stdout] 256 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 257 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 258 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 262 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 255 | /             with_bound_socket!((socket) {
[INFO] [stdout] 256 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 257 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 258 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 262 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 255 | /             with_bound_socket!((socket) {
[INFO] [stdout] 256 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 257 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 258 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 262 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 263 | /             with_bound_socket!((socket) {
[INFO] [stdout] 264 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 265 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 266 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 270 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 263 | /             with_bound_socket!((socket) {
[INFO] [stdout] 264 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 265 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 266 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 270 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 263 | /             with_bound_socket!((socket) {
[INFO] [stdout] 264 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 265 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 266 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 270 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 304 | /             with_bound_socket!((socket) {
[INFO] [stdout] 305 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 306 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 307 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 311 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 304 | /             with_bound_socket!((socket) {
[INFO] [stdout] 305 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 306 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 307 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 311 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 304 | /             with_bound_socket!((socket) {
[INFO] [stdout] 305 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 306 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 307 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 311 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 312 | /             with_bound_socket!((socket) {
[INFO] [stdout] 313 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 314 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 315 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 319 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 312 | /             with_bound_socket!((socket) {
[INFO] [stdout] 313 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 314 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 315 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 319 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 312 | /             with_bound_socket!((socket) {
[INFO] [stdout] 313 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 314 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 315 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 319 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 351 | /             with_bound_socket!((socket) {
[INFO] [stdout] 352 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 353 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 354 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 355 | |                 socket.send_to(Packet::message(121, 1, vec![1,2,3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't s...
[INFO] [stdout] 356 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 351 | /             with_bound_socket!((socket) {
[INFO] [stdout] 352 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 353 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 354 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 355 | |                 socket.send_to(Packet::message(121, 1, vec![1,2,3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't s...
[INFO] [stdout] 356 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 351 | /             with_bound_socket!((socket) {
[INFO] [stdout] 352 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 353 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 354 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 355 | |                 socket.send_to(Packet::message(121, 1, vec![1,2,3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't s...
[INFO] [stdout] 356 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             with_bound_socket!((socket) {
[INFO] [stdout] 386 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 387 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 388 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 389 | |                 socket.send_to(Packet::disconnect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 390 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             with_bound_socket!((socket) {
[INFO] [stdout] 386 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 387 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 388 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 389 | |                 socket.send_to(Packet::disconnect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 390 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             with_bound_socket!((socket) {
[INFO] [stdout] 386 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 387 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 388 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 389 | |                 socket.send_to(Packet::disconnect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 390 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 420 | /             with_bound_socket!((socket) {
[INFO] [stdout] 421 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 422 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 423 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 424 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 425 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 420 | /             with_bound_socket!((socket) {
[INFO] [stdout] 421 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 422 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 423 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 424 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 425 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |               match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 420 | /             with_bound_socket!((socket) {
[INFO] [stdout] 421 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 422 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 423 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 424 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 425 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket`
[INFO] [stdout]    --> src/tests/test_server.rs:16:19
[INFO] [stdout]     |
[INFO] [stdout] 16  |   ...   match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 454 | / ...   with_bound_socket!((socket) {
[INFO] [stdout] 455 | | ...       socket.set_timeout(Some(5000));
[INFO] [stdout] 456 | | ...       socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 457 | | ...       test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | | ...       socket.send_to(Packet::message(121, 2, vec![3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 461 | | ...   });
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::UdpSocket;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:35
[INFO] [stdout]     |
[INFO] [stdout] 16  |   ...   match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 454 | / ...   with_bound_socket!((socket) {
[INFO] [stdout] 455 | | ...       socket.set_timeout(Some(5000));
[INFO] [stdout] 456 | | ...       socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 457 | | ...       test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | | ...       socket.send_to(Packet::message(121, 2, vec![3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 461 | | ...   });
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::unix::net::SocketAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope
[INFO] [stdout]    --> src/tests/test_server.rs:16:51
[INFO] [stdout]     |
[INFO] [stdout] 16  |   ...   match UdpSocket::bind(SocketAddr{ ip: Ipv4Addr(0, 0, 0, 0), port: 0 }) {
[INFO] [stdout]     |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 454 | / ...   with_bound_socket!((socket) {
[INFO] [stdout] 455 | | ...       socket.set_timeout(Some(5000));
[INFO] [stdout] 456 | | ...       socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 457 | | ...       test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | | ...       socket.send_to(Packet::message(121, 2, vec![3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 461 | | ...   });
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let protocol_id = try!(r.read_be_u32());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let sequence_id = try!(r.read_be_u16());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let packet_type = try!(r.read_byte());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/packet.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let content = try!(r.read_to_end());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         try!(w.write_be_u32(self.protocol_id));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         try!(w.write_be_u16(self.sequence_id));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         try!(w.write_u8(self.packet_type as u8));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/packet.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 try!(w.write(content.as_slice()))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |         try!(w.write_be_u32(self.protocol_id));
[INFO] [stdout]     |                ^^^^^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_be_u16` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |         try!(w.write_be_u16(self.sequence_id));
[INFO] [stdout]     |                ^^^^^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |         try!(w.write_u8(self.packet_type as u8));
[INFO] [stdout]     |                ^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec<_>` in the current scope
[INFO] [stdout]     --> src/packet.rs:110:24
[INFO] [stdout]      |
[INFO] [stdout] 110  |                 try!(w.write(content.as_slice()))
[INFO] [stdout]      |                        ^^^^^ method not found in `Vec<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]      = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]              `use std::io::Write;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope
[INFO] [stdout]   --> src/client.rs:40:51
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     match Packet::deserialize(buf.slice_to(amt)) {
[INFO] [stdout]    |                                                   ^^^^^^^^ method not found in `[{integer}; 1024]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/client.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/client.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope
[INFO] [stdout]   --> src/server.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 match Packet::deserialize(buf.slice_to(amt)) {
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `[{integer}; 1024]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/server.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/server.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 56 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0531, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `string_telephone`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |         try!(w.write_be_u32(self.protocol_id));
[INFO] [stdout]     |                ^^^^^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_be_u16` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |         try!(w.write_be_u16(self.sequence_id));
[INFO] [stdout]     |                ^^^^^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `Vec<_>` in the current scope
[INFO] [stdout]    --> src/packet.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |         try!(w.write_u8(self.packet_type as u8));
[INFO] [stdout]     |                ^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec<_>` in the current scope
[INFO] [stdout]     --> src/packet.rs:110:24
[INFO] [stdout]      |
[INFO] [stdout] 110  |                 try!(w.write(content.as_slice()))
[INFO] [stdout]      |                        ^^^^^ method not found in `Vec<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]      = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]              `use std::io::Write;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope
[INFO] [stdout]   --> src/client.rs:40:51
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     match Packet::deserialize(buf.slice_to(amt)) {
[INFO] [stdout]    |                                                   ^^^^^^^^ method not found in `[{integer}; 1024]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/client.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/client.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope
[INFO] [stdout]   --> src/server.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 match Packet::deserialize(buf.slice_to(amt)) {
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `[{integer}; 1024]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/server.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/server.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 Thread::spawn(move || {
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 256]` in the current scope
[INFO] [stdout]  --> src/tests/test_shared.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Ok((amt, src)) => (buf.slice_to(amt).to_vec(), src),
[INFO] [stdout]   |                                ^^^^^^^^ method not found in `[{integer}; 256]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/tests/test_client.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |           Thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 57 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 58 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 59 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 60 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 61 | |     });
[INFO] [stdout]    | |_______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/tests/test_client.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |           Thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 79 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 80 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 81 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 82 | |         socket.send_to(Packet::accept(122, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 83 | |     });
[INFO] [stdout]    | |_______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 101 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 102 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 103 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 104 | |         socket.send_to(Packet::reject(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send reject packet");
[INFO] [stdout] 105 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 127 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 128 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 129 | |         let mut attempts = 0u8;
[INFO] [stdout] 130 | |         while attempts < 3 {
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         tx.send(attempts);
[INFO] [stdout] 136 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 156 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 157 | |         socket.set_timeout(Some(1000));
[INFO] [stdout] 158 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 159 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Failed to send accept packet");
[INFO] [stdout] 160 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 178 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 179 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 180 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 181 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 182 | |         socket.send_to(Packet::message(121, 1, vec![1]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 183 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 209 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 210 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 211 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 212 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 216 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 249 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 250 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 251 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 252 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 255 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 256 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 288 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 289 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 290 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 291 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 292 | |         socket.send_to(Packet::disconnect(121, 1).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 293 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 318 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 319 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 320 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 321 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 322 | |         //Don't send any more data
[INFO] [stdout] 323 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 351 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 352 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 353 | |         let (msg, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 354 | |         //Check what's been sent
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |         tx.send(packet);
[INFO] [stdout] 358 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 381 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 382 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 383 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 384 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 388 | |         tx.send(packet);
[INFO] [stdout] 389 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 414 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 415 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 416 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 417 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |         tx.send(packet);
[INFO] [stdout] 422 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_client.rs:23:17
[INFO] [stdout]     |
[INFO] [stdout] 23  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 443 | /     with_bound_socket!(target_addr, (socket) {
[INFO] [stdout] 444 | |         socket.set_timeout(Some(10000));
[INFO] [stdout] 445 | |         let (_, src) = test_shared::get_message(&mut socket);
[INFO] [stdout] 446 | |         socket.send_to(Packet::accept(121, 0).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] ...   |
[INFO] [stdout] 449 | |         socket.send_to(Packet::message(121, 3, vec![3]).serialize().unwrap().as_slice(), src).ok().expect("Couldn't send a message");
[INFO] [stdout] 450 | |     });
[INFO] [stdout]     | |_______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/tests/test_server.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |           Thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 69 | /             with_bound_socket!((socket) {
[INFO] [stdout] 70 | |                 socket.send_to(Packet::connect(122, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 71 | |                 tx.send(());
[INFO] [stdout] 72 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/tests/test_server.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |           Thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 93 | /             with_bound_socket!((socket) {
[INFO] [stdout] 94 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 95 | |                 tx.send(());
[INFO] [stdout] 96 | |             });
[INFO] [stdout]    | |_______________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 122 | /             with_bound_socket!((socket) {
[INFO] [stdout] 123 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 124 | |                 tx.send(());
[INFO] [stdout] 125 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 126 | /             with_bound_socket!((socket) {
[INFO] [stdout] 127 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 128 | |                 tx2.send(());
[INFO] [stdout] 129 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 162 | /             with_bound_socket!((socket) {
[INFO] [stdout] 163 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 164 | |                 tx.send(());
[INFO] [stdout] 165 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 166 | /             with_bound_socket!((socket) {
[INFO] [stdout] 167 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 168 | |                 tx2.send(());
[INFO] [stdout] 169 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 203 | /             with_bound_socket!((socket) {
[INFO] [stdout] 204 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 205 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 206 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 210 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 255 | /             with_bound_socket!((socket) {
[INFO] [stdout] 256 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 257 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 258 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 262 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 263 | /             with_bound_socket!((socket) {
[INFO] [stdout] 264 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 265 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 266 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 270 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 304 | /             with_bound_socket!((socket) {
[INFO] [stdout] 305 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 306 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 307 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |                 tx.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 311 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 312 | /             with_bound_socket!((socket) {
[INFO] [stdout] 313 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 314 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 315 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |                 tx2.send(Packet::deserialize(message.as_slice()).ok().expect("Couldn't deserialize a message"));
[INFO] [stdout] 319 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 351 | /             with_bound_socket!((socket) {
[INFO] [stdout] 352 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 353 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 354 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 355 | |                 socket.send_to(Packet::message(121, 1, vec![1,2,3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't s...
[INFO] [stdout] 356 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             with_bound_socket!((socket) {
[INFO] [stdout] 386 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 387 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 388 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 389 | |                 socket.send_to(Packet::disconnect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 390 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |           Thread::spawn(move || {
[INFO] [stdout]     |                   ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 420 | /             with_bound_socket!((socket) {
[INFO] [stdout] 421 | |                 socket.set_timeout(Some(5000));
[INFO] [stdout] 422 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 423 | |                 test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] 424 | |                 socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 425 | |             });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/tests/test_server.rs:15:17
[INFO] [stdout]     |
[INFO] [stdout] 15  |   ...   Thread::spawn(move || {
[INFO] [stdout]     |                 ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout] ...
[INFO] [stdout] 454 | / ...       with_bound_socket!((socket) {
[INFO] [stdout] 455 | | ...           socket.set_timeout(Some(5000));
[INFO] [stdout] 456 | | ...           socket.send_to(Packet::connect(121, 0).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a message");
[INFO] [stdout] 457 | | ...           test_shared::get_message(&mut socket); //Should be the Accept message
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | | ...           socket.send_to(Packet::message(121, 2, vec![3]).serialize().unwrap().as_slice(), my_addr).ok().expect("Couldn't send a mess...
[INFO] [stdout] 461 | | ...       });
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 166 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0531, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "2263f78157b9e21ab163f7820c2a8aa17c4e8c3f8322f11db9744f808819dadd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2263f78157b9e21ab163f7820c2a8aa17c4e8c3f8322f11db9744f808819dadd", kill_on_drop: false }`
[INFO] [stdout] 2263f78157b9e21ab163f7820c2a8aa17c4e8c3f8322f11db9744f808819dadd
